package fi.piet.ec2;

import org.apache.wicket.PageParameters;
import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.link.PageLink;

import fi.piet.ec2.department.DepartmentPage;
import fi.piet.ec2.employee.EmployeePage;

/**
 * Homepage
 */
public class HomePage extends WebPage {

	private static final long serialVersionUID = 1L;

    /**
	 * Constructor that is invoked when page is invoked without a session.
	 * 
	 * @param parameters
	 *            Page parameters
	 */
    public HomePage(final PageParameters parameters) {
    	
    	// Links to subpages
        add(new PageLink("departmentPageLink", DepartmentPage.class));
        add(new PageLink("employeePageLink", EmployeePage.class));
        
    }
}
